package com.co.user;

import com.co.common.util.IdWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author ldl.plus
 * @date 2020年06月30日  9:15
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "com.co.user.mapper")
public class CommentApplication12004 {
    public static void main(String[] args) {
        SpringApplication.run(CommentApplication12004.class, args);
    }

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
